<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Account')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-account" class="form-control" name="row[account]" type="text" value="{$row.account|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Date_start')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-date_start" class="form-control" name="row[date_start]" type="number" value="{$row.date_start|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Date_stop')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-date_stop" class="form-control" name="row[date_stop]" type="number" value="{$row.date_stop|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Impressions')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-impressions" class="form-control" name="row[impressions]" type="number" value="{$row.impressions|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Spend')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-spend" class="form-control" step="0.000001" name="row[spend]" type="number" value="{$row.spend|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Hourly')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-hourly" class="form-control" name="row[hourly]" type="text" value="{$row.hourly|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Account_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-account_id" data-rule="required" data-source="account/index" class="form-control selectpage" name="row[account_id]" type="text" value="{$row.account_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Hourly_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-hourly_type" class="form-control" name="row[hourly_type]" type="number" value="{$row.hourly_type|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
